package com.sky.service;

import com.sky.dto.AddressBookDto;
import com.sky.entity.AddressBook;
import com.sky.vo.AddressBookVo;

import java.util.List;

public interface IAddressBookService {
    void save(AddressBookDto addressBookDto);

    List<AddressBookVo> list(Long userId);

    AddressBook getDefault();

    void modifyDefault(Long id);

    AddressBook getById(Long id);

    void deleteById(Long id);

    void modifyById(AddressBookDto addressBookDto);
}
